package com.biz.primus.ms.geo.dao.ro;

import com.biz.primus.base.redis.annotation.Ro;
import com.biz.primus.base.redis.annotation.RoSortedSet;
import com.biz.primus.ms.geo.dao.po.Province;
import lombok.Getter;
import lombok.Setter;

/**
 * @author shenjiahao
 * @since 2016年9月1日
 */
@Getter
@Setter
@Ro(key = "geo:province")
@RoSortedSet(key = "list", score = "id")
public class ProvinceRo extends AbstractAreaRo {
    private static final long serialVersionUID = -2181139089695891749L;
    /**
     * 区域id
     */
    private Integer regionId;


    public ProvinceRo() {
    }

    public ProvinceRo(Province po) {
        super(po);
        this.setRegionId(po.getRegion());

    }

}

